﻿using System;
using System.Collections.Generic;
using System.Text;
using Oragon.Architecture.Data.SqlBuilder;

namespace Oragon.Architecture.Data.QueryBuilder
{
	public interface ILiteralBuilder
	{
		SqlLiteral BuildTableName(params string[] args);
		SqlLiteral BuildColumnName(params string[] args);
		SqlLiteral BuildInt(int value);
		SqlLiteral BuildDate(DateTime value);
		SqlLiteral BuildDateTime(DateTime value);
		SqlLiteral BuildParameter(string parameterName);
		OrderByItem BuildOrderBy(string projectionColumn, Sorting sorting);
		ISQLStatement GetLastIdentity(string columnName);
	}
}
